/**
 * @ Author: @紫衣小生
 * @ Email: 15227974559@163.com
 * @ Create Time: 2022-12-28 11:17:05
 * @ Modified by: --
 * @ Modified time: 2023-01-03 14:41:26
 * @ Keywords:
 * @ Description:
 */

class Log {
  static _e(msg) {
    console.error('x [错误]', msg, '!!!')
  }

  static _i(type, data, k) {
    let typeMsg = ''
    switch (type) {
      case 1:
        typeMsg = '打印'
        console.log('[' + typeMsg + ']', k, '::', data)
        break

      default:
        typeMsg = '提示'
        console.log('[' + typeMsg + ']', k)
        break
    }
  }

  static _w(msg){
    console.warn('! [警告]', msg);
  }
}

export default Log